﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Meirimoney.Exchange.Website.Account.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="../Scripts/jquery-1.8.2.js"></script>
    <link href="../Content/default.css" rel="stylesheet" />
    <title></title>
    <style type="text/css">
        .loginBox {
            margin: 150px auto;
            width: 350px;
            padding: 10px;
            height: 120px;
            text-align: center;
            border: 1px dotted orange;
        }

        input[type=text], input[type=password] {
            width: 200px;
            height: 20px;
        }

        input[type=submit] {
            height: 30px;
            width: 100px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ul class="loginBox">
            <li>账号：<input type="text" id="username" maxlength="50" name="username" />
            </li>
            <li>密码：<input type="password" id="password" maxlength="50" name="password" />
            </li>
            <li>
                <input type="submit" onclick="return verify();" value="登录" />
            </li>
        </ul>
    </form>
    <script type="text/javascript">
        function verify() {
            if ($("#username").val() == "" || $("#password").val() == "") {
                alert("请输入登录账号信息");
                return false;
            }
            return true;
        }

    </script>
</body>
</html>
